{loop $data $n $r}
<img src="{$r[thumb]}" alt="{$r[title]}">
{/loop}